//
//  LabelLabelTableViewCell.m
//  SsehMaster
//
//  Created by 杨阳 on 2018/8/11.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import "LabelLabelTableViewCell.h"
#import "SelectdMateralModel.h"

@interface LabelLabelTableViewCell()


@end

@implementation LabelLabelTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)configData:(SelectdMateralModel *)model{
    
    self.leftLabel.text = model.material_name;
    CGFloat price = model.material_price.floatValue * model.material_count.floatValue;
    self.rightLabel.text = [NSString stringWithFormat:@"¥%.2f",price];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
